]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
polkitAgent: Drop separate user icon style
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 8 Oct 2020 18:47:18 +0000 (20:47 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 9 Oct 2020 13:23:05 +0000 (13:23 +0000)
It should use the same style as used elsewhere (like the lock screen),
so stop using a separate style class to pick up the defaults.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3252

data/theme/gnome-shell-sass/widgets/_dialogs.scss
js/ui/components/polkitAgent.js

index fc779202351470ad9484e7464c75903499b7a256..0f568b73a6cb8179f8c35e00fd462f4c4fe028be 100644 (file)
   spacing: 8px;
   margin-bottom: 6px;
 
-  .polkit-dialog-user-icon {
-    border-radius: 99px;
-    background-size: contain;
-  }
   .polkit-dialog-user-root-label { color: $warning_color; }
 }
 
index 5515963917539f87c0a4ff1731b33efc5721e43d..ae75f3c00fee44317041139e2bad026e4711d9e2 100644 (file)
@@ -65,7 +65,6 @@ var AuthenticationDialog = GObject.registerClass({
 
         this._userAvatar = new UserWidget.Avatar(this._user, {
             iconSize: DIALOG_ICON_SIZE,
-            styleClass: 'polkit-dialog-user-icon',
         });
         this._userAvatar.x_align = Clutter.ActorAlign.CENTER;
         userBox.add_child(this._userAvatar);